package com.koron.css2.newProjectCenter.mapper;

import com.koron.css2.newProjectCenter.bean.ProcessNodeTimeBean;
import org.apache.ibatis.annotations.Param;

/**
 * 流程节点实际的执行时间
 * @author admin
 * @version 2.1
 * @since 2021-06-04
 *
 */
public interface ProcessNodeTimeMapper {
	
	int countByTaskId(@Param("taskId") String taskId);
	
	int insert(ProcessNodeTimeBean processNodeTime);
	
	int update(ProcessNodeTimeBean processNodeTime);
	
	ProcessNodeTimeBean selectByProcessInstanceIdAndNodeCode(@Param("processInstanceId") String processInstanceId, @Param("nodeCode") String nodeCode);

	ProcessNodeTimeBean selectByTaskId(String taskId);
	
	
}
